//
//  PictureView.h
//  Leisure
//
//  Created by 王金晶 on 16/3/11.
//  Copyright © 2016年 王金晶. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol PictureDelegate<NSObject>
- (void)clickedScrollViewWithIndex:(NSInteger)index;
@end
@interface PictureView : UIView<UIScrollViewDelegate>
- (instancetype)initWithFrame:(CGRect)frame imageArray:(NSMutableArray *)imageArray;
@property(nonatomic,strong)UIScrollView *scrollerView;
@property(nonatomic,retain)UIPageControl *pageControl;
@property(nonatomic,strong)NSTimer *timer;
@property(nonatomic,assign)id<PictureDelegate>delegate;
@end
